<!DOCTYPE HTML>
<html>
	<head>
		<include file="Public/head" />
		<link rel="stylesheet" href="__PUBLIC__/Manage/css/style.css">
		<script src="__PUBLIC__/Manage/js/index.js"></script>
		<title>工作台 - CvPHP管理系统-汇码网</title>
	</head>
	<body>
		<div class="head">
			<div class="head_right">
				<ul>
			
				<li style="width:500px;">
						<a href="#" style="color:#red;font-size:24px" onclick="gorder2();"><font color="red">点击获取防封短连接</font></a>
						
					</li>
					<li>
						<span>欢迎你，<em>{$adminInfo.username}</em></span></li>
						
					<li>
						<a href="javascript:if(confirm('您确定要退出登录吗？'))window.location.href='{:U('Index/logout')}';" class="zhuxi">注销</a>
					</li>
					<li>
						<a href="{:U('Index/changepass')}" target="iframe" class="xiugai">修改密码</a>
					</li>
					 
				</ul>
			</div>
		</div>
		<div class="content">
			<div class="nav">
				<div class="logo">
					<a href="{:U('Index/index')}"><img src="__PUBLIC__/Manage/images/logo.png"><img src="__PUBLIC__/Manage/images/logo1.png"></a>
				</div>
				<ul class="nav_list">
					<if condition="ISADMIN eq 1">
					<li class="yiji" data-title="工作台">
						<a href="javascript:;" data-url="{:U('Index/main')}" class="one">工作台</a>
					</li>
					</if>
					<li class="yiji" data-title="借款管理">
						<a href="javascript:;" data-url="{:U('Loan/pending')}" class="two action">借款管理</a>
						<!--<ul class="erji">
							<li data-title="借款审核">
								<a href="javascript:;" data-url="{:U('Loan/pending')}">待审核</a>
							</li>
							<li data-title="驳回借款">
								<a href="javascript:;" data-url="{:U('Loan/refuse')}">已拒绝</a>
							</li>
							<li data-title="逾期借款">
								<a href="javascript:;" data-url="{:U('Loan/overdue')}">已逾期</a>
							</li>
							<li data-title="借款列表">
								<a href="javascript:;" data-url="{:U('Loan/index')}">还款中</a>
							</li>
							<li data-title="回款借款">
								<a href="javascript:;" data-url="{:U('Loan/payoff')}">已还清</a>
							</li>
							<if condition="ISADMIN eq 1">
							<li data-title="账单列表">
								<a href="javascript:;" data-url="{:U('Loan/bill')}">账单表</a>
							</li>
							</if>
						</ul>
						-->
					</li>
				 
<if condition="ISADMIN eq 1">					
					<li class="yiji" data-title="支付订单">
						<a href="javascript:;" data-url="{:U('Pay/index')}" class="three">支付订单</a>
					</li>
					
					<li class="yiji" data-title="短信信息">
						<a href="javascript:;" data-url="{:U('Help/messages')}" class="Four">短信信息</a>
					</li>
					<li class="yiji" data-title="常见问题">
						<a href="javascript:;" data-url="{:U('Help/index')}" class="Five">常见问题</a>
					</li>
					<li class="yiji" data-title="用户管理">
						<a href="javascript:void(0)" class="six action">用户管理</a>
						<ul class="erji">
						
							<li data-title="用户列表">
								<a href="javascript:;" data-url="{:U('User/index')}">用户列表</a>
							</li>							
							<li data-title="管理员">
								<a href="javascript:;" data-url="{:U('Admin/index')}">管理员</a>
							</li>
							
							<li data-title="资料审核">
								<a href="javascript:;" data-url="{:U('Info/index')}">资料审核</a>
							</li>
						</ul>
					</li>
</if>

<if condition="ISADMIN eq 0">
	
					<li class="yiji" data-title="资料审核">
						<a href="javascript:;" data-url="{:U('Info/index')}" class="six">资料审核</a>
					</li>
					
</if>					
<if condition="ISADMIN eq 1">		
<li class="yiji" data-title="资金管理">
						<a href="javascript:;" data-url="{:U('User/wallet')}" class="six">资金管理</a>
					</li>			
					<li class="yiji" data-title="系统设置">
						<a href="javascript:void(0)" class="seven action">系统设置</a>
						<ul class="erji">
							<li data-title="基本设置">
								<a href="javascript:;" data-url="{:U('Setting/index')}">基本设置</a>
							</li>
							<li data-title="API设置">
								<a href="javascript:;" data-url="{:U('Setting/api')}">API设置</a>
							</li>
							<li data-title="借款设置">
								<a href="javascript:;" data-url="{:U('Setting/loan')}">借款设置</a>
							</li>
							<li data-title="合同设置">
								<a href="javascript:;" data-url="{:U('Setting/contract')}">合同设置</a>
							</li>
						<!--	<li data-title="信征商品">
								<a href="javascript:;" data-url="{:U('Product/index')}">信征商品</a>
							</li>
							 -->
						</ul>
					</li>
					<!--
					<li class="yiji" data-title="常见问题">
						<a href="javascript:;" data-url="{:U('Help/index')}" class="Five">常见问题</a>
					</li>-->
</if>					
				</ul>
			</div>
			<div class="con">
				<iframe src="{:U('Index/main')}" id="iframe" onload="changeFrameHeight();" name="iframe"></iframe>
			</div>
			 <input type="text" style="width:300px;height:30px;background-color: #324d88" value=""  id="kmq1"  class="tr_pay am-btn" />
		</div>
	</body>
<script>
 function gorder2()
				{
					
					
					
					 
				    $.ajax({
				                //取消异步，也就是必须完成上面才能走下面
				                async:false,
				                url:"{:U("Index/geturl")}",
				           
				                type:"POST",
				                dataType:"JSON",
				                success: function(data){
				                	
				                	if(data["status"]=="1")
				                	{
				                	    //$("#kmq1").show();//显示
				                		$('#kmq1').val(data.info);
										//$("#texturl").html(data.info);
				                		const inputDom = document.getElementById("kmq1")
										// 让输入框中的文本处于全选中状态
										inputDom.select()
										// 调用浏览器接口，复制选中的内容到剪贴板
										document.execCommand("copy");
										alert("复制成功");
				                	}
				                	else
				                	{
				                		
				                	}
									     //window.location.reload();//删除后，自动刷新页面   
				                }
				        
				        
				        
				        });
				}
</script>
</html>